package Capitulo02;

class Uber{
	static int y = 2;
	Uber(int x) {
		this();
		y = y * 2; 
	}
	
	Uber() {
		y++;
	}
}

class Minor extends Uber{
	Minor(){
		super(y);
		y = y + 3;
	}
}

public class Exercicio11 {

	public static void main(String[] args) {
		new Minor();
		System.out.print(Minor.y);
	}
	
}
